//package com.mew.lobby.handler.gold;
//
//import com.mew.common.rest.bo.MewSession;
//import com.mew.common.rest.user.UserMoneyResponseMessage;
//import com.mew.lobby.annotation.LobbyHandler;
//import com.mew.common.rest.user.BuyRequestMessage;
//import com.mew.lobby.net.LobbyHandlerMapCmdType;
//import com.mew.lobby.net.MewHandler;
//import com.mew.lobby.provide.GoldFeignService;
//import com.zebra.remoting.protocol.ZebraCommand;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Service;
//
//@Service
//@Slf4j
//@LobbyHandler(LobbyHandlerMapCmdType.Money2Jewe)
//public class Money2JeweHandler implements MewHandler<BuyRequestMessage> {
//
//    @Autowired
//    private GoldFeignService goldFeignService;
//    @Override
//    public void handle(ZebraCommand<BuyRequestMessage> zebraCommand, MewSession session) {
//        BuyRequestMessage req = zebraCommand.getRequest();
//        req.setUid(session.uid);
//        System.out.println(req);
//        UserMoneyResponseMessage message = goldFeignService.jewelNumber(req);
//        zebraCommand.sendMessage(message);
//
//    }
//}
